# -*- coding: utf-8 -*-
__author__ = 'sunnychou'
__date__ = '2019/6/18 14:25'

from config import PROCESS_TIME,CRM_PROCESS_DISPATCHER

def crm_process_main():
    #自动读取config配置文件信息，处理逻辑
    begin_time = PROCESS_TIME['begin_time']
    end_time = PROCESS_TIME['end_time']
    for p_key in CRM_PROCESS_DISPATCHER.keys():
        (p_func, flag)  = CRM_PROCESS_DISPATCHER[p_key]
        if not flag:
            continue
        p_func(begin_time, end_time)

